import Vue from 'vue'
import App from './App.vue'
import router from '@/router'
import TypeNav from '@/components/TypeNav'
import Carsousel from '@/components/Carsousel'
import Pagination from '@/components/Pagination'
import {reqCategoryList} from '@/api' 
import store from '@/store'
reqCategoryList();
Vue.component(TypeNav.name,TypeNav);
Vue.component(Carsousel.name,Carsousel)
Vue.component(Pagination.name,Pagination)
import '@/mock/mockServe';
import 'swiper/css/swiper.css'
import {reqGetSearchInfo} from '@/api'

// console.log(reqGetSearchInfo({}))
new Vue({   
    render: h => h(App),
    beforeCreate(){
        Vue.prototype.$bus = this;
    },
    router,
    store,
}).$mount('#app')